package com.yhl.springtest.proxy_dynamic;

import org.springframework.stereotype.Component;

/**
 * @author: yanghl
 * @description: TODO
 * @date: 2023/8/15 17:02
 */
public class Student implements Person{
    private String name;

    public Student(String name){
        this.name = name;
    }
    @Override
    public void giveTask() {
        System.out.println(name + "交语文作业");
    }
}

